package com.hou.houlymall.member.feign;

import com.hou.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 这是一个声明式的远程调用
 * * @FeignClient("服务名")
 */
@FeignClient("houlymall-coupon")
public interface CouponFeignService {

    //路径要写全
    @RequestMapping("/coupon/coupon/member/list")
    R membercoupons();

}
